<?php
class Core_Data_Forgot {
	
	public function __construct(){
		
	}
	
	public function mailValues($password, $email){
		
		$webmaster = "info@info.info";
		$message = "Your new password is '$password'.";
		$subject = "Forgoten password";

		$headers2 = "From: $webmaster\r\n";
		$headers2 .= "Content-type:  text/html\r\n";
		mail($email, $subject, $message, $headers2);
	}
	
}